package com.oig.sys.auth;

import com.oig.sys.security.EnableOauthResourceServer;
import com.oig.sys.swagger.EnableSwaggerOpenApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages={"com.oig.oauth.api","com.oig.sys.log.feign","com.oig.sys.workflow.api"})
@EnableSwaggerOpenApi
@EnableOauthResourceServer
//@EnableAsync
public class SysAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(SysAuthApplication.class, args);
    }

}
